package com.ktwlrj.securitycenter.controller.args;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotBlank;

import com.ktwlrj.core.validation.group.Update;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
 * 业务放行对象
 *
 * @author lisc
 * @since 2020-02-24 18:08:13
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode
@ApiModel(value = "业务放行对象添加或修改Request", description = "业务放行对象添加或修改入参")
public class SafePassTargetArgs  implements Serializable  {
    private static final long serialVersionUID = -84717553966852290L;
    
    
    @ApiModelProperty(name = "passTargetId", value = "主键id")
    @NotBlank(message = "主键id不能为空", groups = Update.class)
    private String passTargetId;
    
    @ApiModelProperty(name = "passId", value = "业务放行id")     
    private String passId;
    
    @ApiModelProperty(name = "scope", value = "范围(1.项目,2.销售证,3.栋,4.房号)")     
    private Integer scope;
    
    @ApiModelProperty(name = "saleCertificateType", value = "权证件类型(1.预售证,2.现售证,3.不动产权证，4.不动产登记证明，5.产权证，6.备案证明）")     
    private Integer saleCertificateType;
    
    @ApiModelProperty(name = "saleCertificate", value = "权证号")     
    private String saleCertificate;
    
    @ApiModelProperty(name = "buildingNumber", value = "栋编号")     
    private String buildingNumber;
    
    @ApiModelProperty(name = "roomNumber", value = "房号")     
    private String roomNumber;
    
    @ApiModelProperty(name = "dataCode", value = "数据编码")     
    private String dataCode;
    
    @ApiModelProperty(name = "beginTime", value = "开始日期")     
    private Date beginTime;
    
    @ApiModelProperty(name = "endTime", value = "结束日期")     
    private Date endTime;
}